<script>
	// <!--
	$(function(){
		/* deklasisari */
		gridAan = $("#grid-aan");
		gridPemasukan = $("#grid-pemasukan");
		gridKlarifikasi = $("#grid-klarifikasi");
		
		/* make component */
		gridAan.jqGrid({
			ajaxGridOptions : {type:"POST"},
			serializeGridData : function(postdata) { postdata.page = 1; return postdata; },
			url:'c_home',
			postData : {
				task :  'LIST_AAN'
			},
			datatype: "json",
			colNames:['Nama Proyek','Tanggal'],
			colModel:[ 
				{name:'project_name',index:'project_name'},
				{name:'project_date',index:'project_date'}
			],shrinkToFit : true,
			autoWidth : true,
			rowNum:10,
			width:'100%',
			rowList:[10,20,30],
			pager: '#pgrid-aan',
			sortname: 'project_date',
			viewrecords: true,
			sortorder: "desc",
			caption:"Jadwal Aanwijz"
		}); 
		
		gridPemasukan.jqGrid({
			ajaxGridOptions : {type:"POST"},
			serializeGridData : function(postdata) { postdata.page = 1; return postdata; },
			url:'c_home',
			postData : {
				task :  'LIST_PEMASUKAN'
			},
			datatype: "json",
			colNames:['Nama Proyek','Tanggal'],
			colModel:[ 
				{name:'project_name',index:'project_name'},
				{name:'project_date',index:'project_date'}
			],shrinkToFit : true,
			autoWidth : true,
			rowNum:10,
			width:'100%',
			rowList:[10,20,30],
			pager: '#pgrid-pemasukan',
			sortname: 'project_date',
			viewrecords: true,
			sortorder: "desc",
			caption:"Jadwal Pemasukan"
		}); 
		
		gridKlarifikasi.jqGrid({
			ajaxGridOptions : {type:"POST"},
			serializeGridData : function(postdata) { postdata.page = 1; return postdata; },
			url:'c_home',
			postData : {
				task :  'LIST_KLARIFIKASI'
			},
			datatype: "json",
			colNames:['Nama Proyek','Tanggal'],
			colModel:[ 
				{name:'project_name',index:'project_name'},
				{name:'project_date',index:'project_date'}
			],shrinkToFit : true,
			autoWidth : true,
			rowNum:10,
			width:'100%',
			rowList:[10,20,30],
			pager: '#pgrid-klarifikasi',
			sortname: 'project_date',
			viewrecords: true,
			sortorder: "desc",
			caption:"Jadwal Klarifikasi"
		}); 
	});
	// -->
</script>
<table id="grid-aan" class="table table-striped table-bordered" ></table>
<div id="pgrid-aan"></div>
<table id="grid-pemasukan" class="table table-striped table-bordered" ></table>
<div id="pgrid-pemasukan"></div>
<table id="grid-klarifikasi" class="table table-striped table-bordered" ></table>
<div id="pgrid-klarifikasi"></div>